
using System.Collections.Generic;

namespace Mistral.Security
{
	public class DataTransformerRegistry
	{
		static Dictionary<string, IDataTransformer> _dataTransformers = new Dictionary<string, IDataTransformer>();
		public static void RegisterTransformer( string name, IDataTransformer transformer )
		{
			_dataTransformers[name] = transformer;
		}
		
		public static IDataTransformer GetTransformer( string name )
		{
			IDataTransformer transformer;
			_dataTransformers.TryGetValue( name, out transformer );
			return transformer;
		}

		public static IDataTransformer GetTransformer( byte[] bytes )
		{

			return null;
		}

		public static byte[] GetTransformerHeader( IDataTransformer transformer )
		{
			return null;
		}		
	}
}
